package patterndesign.compositepattern.common;

public class Leaf extends Component {
    /**
     * 可以覆盖父类方法
     */
    @Override
    public void doSomething() {
        super.doSomething();
    }
}
